<template>
  <h1>按钮组件</h1>
  <!-- 如果按钮有样式 说明element-plus组件库引入成功了 -->
  <!-- 如果号el-button有提示说明IDEA插件element交装成功了 -->
  <!-- 参照笔记完成以上两步注意需要重启IDEA! -->
  <el-button>按钮</el-button>
  <el-button type="primary" plain>蓝色镂空按钮</el-button>
  <el-button type="success" round>绿色胶囊按钮</el-button>
  <el-button type="danger" circle>红色圆形按钮</el-button>
  <el-button type="warning" disabled>黄色禁用按钮</el-button>
  <a href="https://www.baidu.com">
  <el-button type="info" link>灰色链接按钮</el-button>
  </a>
  <div>
    <el-button :icon="Search" circle />
    <el-button type="primary" :icon="Edit" circle />
    <el-button type="success" :icon="Check" circle />
    <el-button type="info" :icon="Message" circle />
    <el-button type="warning" :icon="Star" circle />
    <el-button type="danger" :icon="Delete" circle />
  </div>
</template>

<script setup>
import {
  Check,
  Delete,
  Edit,
  Message,
  Search,
  Star,
} from '@element-plus/icons-vue'
</script>


